import axios from 'axios';

//获取应用列表
export function login(opt) {
  return axios.post('/login', opt);
}

export function getMyshopInfo(opt) {
  return axios.get('/shop/myshop', {
    params: opt
  });
}

export function getShopList(opt) {
  return axios.get('/shop/all', {params: opt});
}

export function applyShop(opt) {
  return axios.post('/shop/applyOpenShop', opt);
}
